package com.winter.mapper;

import com.winter.model.NoticeCustRela;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeCustRelaMapper {
    int insert(NoticeCustRela record);

    int insertSelective(NoticeCustRela record);

    List<NoticeCustRela> queryList(@Param("userNo") String userNo, @Param("userId") Long userId);

    void updateStatus(@Param("id") Long id);

    List<NoticeCustRela> myUnreadNum(@Param("userId") Long userId);
}